import { Http } from '@/utils/Http.js'

export const IndexApi = {

	/**
	 *  获取分享配置
	 **/
	getJsConfig: (url) => {
		return Http.request({
			url: '/app/index/getJsConfig',
			method: 'get',
			data: {url: url}
		})
	},

	/**
	 *  支付
	 **/
	pay: (data) => {
		return Http.request({
			url: '/app/wx/testPay',
			method: 'post',
			data
		})
	},

}
